package com.work.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("student")
public class Student {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long stuId;

    //姓名
    private String stuName;

    //学号
    private String stuNumber;

    //身份证号
    private String stuPersonNumber;

    //学生照片
    private String stuPicture;

    //入学时间
    private LocalDateTime stuTime;

    //班级id
    private Integer classId;

    //状态
    private String stuStatus;
}
